# make arithmetic testing programs
#
CFLAGS= -O -g -Wall
CC=gcc

#list all objects here, OBJS is for objects without a main method
#EXECOBJ is for objects with a main method. 
OBJS=
EXECOBJ = arithtestencode.o arithtestdecode.o arithencodebits.o arithdecodebits.o

ALLOBJ = $(OBJS) $(EXECOBJ)
#compute list of sources based on object files.  
SRCS= $(subst .o,.c,$(ALLOBJ)) 

LIB= ../QccPack/lib/libQccPack.a
INCLUDEDIR= ../QccPack/include
DEPEND= makedepend $(CFLAGS)

#compute list of executable names based on object files with a main method. 
EXECUTABLES = $(subst .o,,$(EXECOBJ))

all:	$(EXECUTABLES)

# To make an object from source .c file
%.o : %.c 
	$(CC) $(CFLAGS) -iquote $(INCLUDEDIR) -c $<

# To make an executable
$(EXECUTABLES): $(LIB) $(ALLOBJ)
	$(CC) $(LDFLAGS) -o $@ $(LIB) $(OBJS) $@.o


# what are the source dependencies
depend: $(SRCS)
	$(DEPEND) $(CFLAGS) -I$(INCLUDEDIR) $(SRCS)

# clean out the dross
clean:
	-rm $(EXECUTABLES) *~ *.o *.bak

# DO NOT DELETE THIS LINE -- make depend depends on it.

arithtestencode.o: ../QccPack/include/libQccPack.h /usr/include/stdio.h
arithtestencode.o: /usr/include/_types.h /usr/include/sys/_types.h
arithtestencode.o: /usr/include/sys/cdefs.h /usr/include/machine/_types.h
arithtestencode.o: /usr/include/i386/_types.h /usr/include/stdlib.h
arithtestencode.o: /usr/include/available.h /usr/include/sys/wait.h
arithtestencode.o: /usr/include/sys/signal.h /usr/include/sys/appleapiopts.h
arithtestencode.o: /usr/include/machine/signal.h /usr/include/i386/signal.h
arithtestencode.o: /usr/include/i386/_structs.h /usr/include/sys/_structs.h
arithtestencode.o: /usr/include/machine/_structs.h
arithtestencode.o: /usr/include/sys/resource.h /usr/include/machine/endian.h
arithtestencode.o: /usr/include/i386/endian.h /usr/include/sys/_endian.h
arithtestencode.o: /usr/include/libkern/_OSByteOrder.h
arithtestencode.o: /usr/include/libkern/i386/_OSByteOrder.h
arithtestencode.o: /usr/include/alloca.h /usr/include/machine/types.h
arithtestencode.o: /usr/include/i386/types.h /usr/include/string.h
arithtestencode.o: /usr/include/math.h /usr/include/architecture/i386/math.h
arithtestencode.o: /usr/include/limits.h /usr/include/machine/limits.h
arithtestencode.o: /usr/include/i386/limits.h /usr/include/i386/_limits.h
arithtestencode.o: /usr/include/sys/syslimits.h /usr/include/sys/types.h
arithtestencode.o: /usr/include/sys/stat.h /usr/include/time.h
arithtestencode.o: /usr/include/_structs.h /usr/include/stdarg.h
arithtestencode.o: /usr/include/unistd.h /usr/include/sys/unistd.h
arithtestencode.o: /usr/include/sys/select.h /usr/include/sys/_select.h
arithtestencode.o: /usr/include/glob.h /usr/include/fcntl.h
arithtestencode.o: /usr/include/sys/fcntl.h
arithtestencode.o: ../QccPack/include/libQccPackENT.h
arithtestencode.o: ../QccPack/include/libQccPackECC.h
arithtestencode.o: ../QccPack/include/libQccPackSQ.h
arithtestencode.o: ../QccPack/include/libQccPackVQ.h
arithtestencode.o: ../QccPack/include/libQccPackAVQ.h
arithtestencode.o: ../QccPack/include/libQccPackIMG.h
arithtestencode.o: ../QccPack/include/libQccPackWAV.h
arithtestencode.o: ../QccPack/include/libQccPackVID.h
arithtestencode.o: ../QccPack/include/libQccPackHYP.h
arithtestdecode.o: ../QccPack/include/libQccPack.h /usr/include/stdio.h
arithtestdecode.o: /usr/include/_types.h /usr/include/sys/_types.h
arithtestdecode.o: /usr/include/sys/cdefs.h /usr/include/machine/_types.h
arithtestdecode.o: /usr/include/i386/_types.h /usr/include/stdlib.h
arithtestdecode.o: /usr/include/available.h /usr/include/sys/wait.h
arithtestdecode.o: /usr/include/sys/signal.h /usr/include/sys/appleapiopts.h
arithtestdecode.o: /usr/include/machine/signal.h /usr/include/i386/signal.h
arithtestdecode.o: /usr/include/i386/_structs.h /usr/include/sys/_structs.h
arithtestdecode.o: /usr/include/machine/_structs.h
arithtestdecode.o: /usr/include/sys/resource.h /usr/include/machine/endian.h
arithtestdecode.o: /usr/include/i386/endian.h /usr/include/sys/_endian.h
arithtestdecode.o: /usr/include/libkern/_OSByteOrder.h
arithtestdecode.o: /usr/include/libkern/i386/_OSByteOrder.h
arithtestdecode.o: /usr/include/alloca.h /usr/include/machine/types.h
arithtestdecode.o: /usr/include/i386/types.h /usr/include/string.h
arithtestdecode.o: /usr/include/math.h /usr/include/architecture/i386/math.h
arithtestdecode.o: /usr/include/limits.h /usr/include/machine/limits.h
arithtestdecode.o: /usr/include/i386/limits.h /usr/include/i386/_limits.h
arithtestdecode.o: /usr/include/sys/syslimits.h /usr/include/sys/types.h
arithtestdecode.o: /usr/include/sys/stat.h /usr/include/time.h
arithtestdecode.o: /usr/include/_structs.h /usr/include/stdarg.h
arithtestdecode.o: /usr/include/unistd.h /usr/include/sys/unistd.h
arithtestdecode.o: /usr/include/sys/select.h /usr/include/sys/_select.h
arithtestdecode.o: /usr/include/glob.h /usr/include/fcntl.h
arithtestdecode.o: /usr/include/sys/fcntl.h
arithtestdecode.o: ../QccPack/include/libQccPackENT.h
arithtestdecode.o: ../QccPack/include/libQccPackECC.h
arithtestdecode.o: ../QccPack/include/libQccPackSQ.h
arithtestdecode.o: ../QccPack/include/libQccPackVQ.h
arithtestdecode.o: ../QccPack/include/libQccPackAVQ.h
arithtestdecode.o: ../QccPack/include/libQccPackIMG.h
arithtestdecode.o: ../QccPack/include/libQccPackWAV.h
arithtestdecode.o: ../QccPack/include/libQccPackVID.h
arithtestdecode.o: ../QccPack/include/libQccPackHYP.h
arithencodebits.o: ../QccPack/include/libQccPack.h /usr/include/stdio.h
arithencodebits.o: /usr/include/_types.h /usr/include/sys/_types.h
arithencodebits.o: /usr/include/sys/cdefs.h /usr/include/machine/_types.h
arithencodebits.o: /usr/include/i386/_types.h /usr/include/stdlib.h
arithencodebits.o: /usr/include/available.h /usr/include/sys/wait.h
arithencodebits.o: /usr/include/sys/signal.h /usr/include/sys/appleapiopts.h
arithencodebits.o: /usr/include/machine/signal.h /usr/include/i386/signal.h
arithencodebits.o: /usr/include/i386/_structs.h /usr/include/sys/_structs.h
arithencodebits.o: /usr/include/machine/_structs.h
arithencodebits.o: /usr/include/sys/resource.h /usr/include/machine/endian.h
arithencodebits.o: /usr/include/i386/endian.h /usr/include/sys/_endian.h
arithencodebits.o: /usr/include/libkern/_OSByteOrder.h
arithencodebits.o: /usr/include/libkern/i386/_OSByteOrder.h
arithencodebits.o: /usr/include/alloca.h /usr/include/machine/types.h
arithencodebits.o: /usr/include/i386/types.h /usr/include/string.h
arithencodebits.o: /usr/include/math.h /usr/include/architecture/i386/math.h
arithencodebits.o: /usr/include/limits.h /usr/include/machine/limits.h
arithencodebits.o: /usr/include/i386/limits.h /usr/include/i386/_limits.h
arithencodebits.o: /usr/include/sys/syslimits.h /usr/include/sys/types.h
arithencodebits.o: /usr/include/sys/stat.h /usr/include/time.h
arithencodebits.o: /usr/include/_structs.h /usr/include/stdarg.h
arithencodebits.o: /usr/include/unistd.h /usr/include/sys/unistd.h
arithencodebits.o: /usr/include/sys/select.h /usr/include/sys/_select.h
arithencodebits.o: /usr/include/glob.h /usr/include/fcntl.h
arithencodebits.o: /usr/include/sys/fcntl.h
arithencodebits.o: ../QccPack/include/libQccPackENT.h
arithencodebits.o: ../QccPack/include/libQccPackECC.h
arithencodebits.o: ../QccPack/include/libQccPackSQ.h
arithencodebits.o: ../QccPack/include/libQccPackVQ.h
arithencodebits.o: ../QccPack/include/libQccPackAVQ.h
arithencodebits.o: ../QccPack/include/libQccPackIMG.h
arithencodebits.o: ../QccPack/include/libQccPackWAV.h
arithencodebits.o: ../QccPack/include/libQccPackVID.h
arithencodebits.o: ../QccPack/include/libQccPackHYP.h
arithdecodebits.o: ../QccPack/include/libQccPack.h /usr/include/stdio.h
arithdecodebits.o: /usr/include/_types.h /usr/include/sys/_types.h
arithdecodebits.o: /usr/include/sys/cdefs.h /usr/include/machine/_types.h
arithdecodebits.o: /usr/include/i386/_types.h /usr/include/stdlib.h
arithdecodebits.o: /usr/include/available.h /usr/include/sys/wait.h
arithdecodebits.o: /usr/include/sys/signal.h /usr/include/sys/appleapiopts.h
arithdecodebits.o: /usr/include/machine/signal.h /usr/include/i386/signal.h
arithdecodebits.o: /usr/include/i386/_structs.h /usr/include/sys/_structs.h
arithdecodebits.o: /usr/include/machine/_structs.h
arithdecodebits.o: /usr/include/sys/resource.h /usr/include/machine/endian.h
arithdecodebits.o: /usr/include/i386/endian.h /usr/include/sys/_endian.h
arithdecodebits.o: /usr/include/libkern/_OSByteOrder.h
arithdecodebits.o: /usr/include/libkern/i386/_OSByteOrder.h
arithdecodebits.o: /usr/include/alloca.h /usr/include/machine/types.h
arithdecodebits.o: /usr/include/i386/types.h /usr/include/string.h
arithdecodebits.o: /usr/include/math.h /usr/include/architecture/i386/math.h
arithdecodebits.o: /usr/include/limits.h /usr/include/machine/limits.h
arithdecodebits.o: /usr/include/i386/limits.h /usr/include/i386/_limits.h
arithdecodebits.o: /usr/include/sys/syslimits.h /usr/include/sys/types.h
arithdecodebits.o: /usr/include/sys/stat.h /usr/include/time.h
arithdecodebits.o: /usr/include/_structs.h /usr/include/stdarg.h
arithdecodebits.o: /usr/include/unistd.h /usr/include/sys/unistd.h
arithdecodebits.o: /usr/include/sys/select.h /usr/include/sys/_select.h
arithdecodebits.o: /usr/include/glob.h /usr/include/fcntl.h
arithdecodebits.o: /usr/include/sys/fcntl.h
arithdecodebits.o: ../QccPack/include/libQccPackENT.h
arithdecodebits.o: ../QccPack/include/libQccPackECC.h
arithdecodebits.o: ../QccPack/include/libQccPackSQ.h
arithdecodebits.o: ../QccPack/include/libQccPackVQ.h
arithdecodebits.o: ../QccPack/include/libQccPackAVQ.h
arithdecodebits.o: ../QccPack/include/libQccPackIMG.h
arithdecodebits.o: ../QccPack/include/libQccPackWAV.h
arithdecodebits.o: ../QccPack/include/libQccPackVID.h
arithdecodebits.o: ../QccPack/include/libQccPackHYP.h
